Jorge González [Sun, 19 Jul 2009 16:45:41 +0000 (18:45 +0200)]
Updated Spanish translation
Theppitak Karoonboonyanan [Sun, 19 Jul 2009 06:02:49 +0000 (13:02 +0700)]
Updated Thai translation.
Alexander Larsson [Sat, 18 Jul 2009 19:56:03 +0000 (21:56 +0200)]
Fix read of non-initialized clip_region
Foreign children are always viewable but may not have a viewable
parent, so ensure we don't read the parent for them.
Alexander Larsson [Sat, 18 Jul 2009 19:55:17 +0000 (21:55 +0200)]
Don't read non-initialized clip region
The clip region is only initialized (and needed) for viewable windows.
Alexander Larsson [Sat, 18 Jul 2009 19:53:15 +0000 (21:53 +0200)]
Only handle viewable windows in collect_native_child_region
There is no need to handle non-viewable windows and additionally
they may not have the clip region set yet.
Alexander Larsson [Sat, 18 Jul 2009 19:51:11 +0000 (21:51 +0200)]
Only apply clip_region shape for viewable windows
This fixes a problem where the clip region is not yet calculated
Alexander Larsson [Sat, 18 Jul 2009 18:52:30 +0000 (20:52 +0200)]
Only calculate clipping regions for viewable windows
Alexander Larsson [Sat, 18 Jul 2009 18:37:19 +0000 (20:37 +0200)]
Check for viewable to avoid doing work instead of mapped
This is now cheap and allows us to avoid more work.
Alexander Larsson [Sat, 18 Jul 2009 18:29:50 +0000 (20:29 +0200)]
Track viewable for GdkWindow
Claude Paroz [Sat, 18 Jul 2009 18:45:09 +0000 (20:45 +0200)]
Updated French translation
Contributed by Laurent Coudeur and Claude Paroz.
Alexander Larsson [Sat, 18 Jul 2009 13:04:06 +0000 (15:04 +0200)]
GDK_WINDOW_TYPE does a runtime typecheck, don't call it unnecessary
Looking at a profile the typecheck from GDK_WINDOW_TYPE stood out quite
a bit, which is fixed by not using it unnecessarily.
Jorge González [Sat, 18 Jul 2009 12:40:07 +0000 (14:40 +0200)]
Updated Spanish translation
Jorge González [Sat, 18 Jul 2009 11:53:50 +0000 (13:53 +0200)]
Updated Spanish translation
Hans Breuer [Sat, 18 Jul 2009 11:31:51 +0000 (13:31 +0200)]
Use perl to make gtkalias.h without warnings
Hans Breuer [Sat, 18 Jul 2009 11:08:13 +0000 (13:08 +0200)]
Bug #588398 - Leak with testgtk::preview_(color|gray) and more
Revert to gdk_win32_ref_cairo_surface() implementation from gtk-2-16
and make _gdk_windowing_create_cairo_surface() simply delegate to it.
Matthias Clasen [Sat, 18 Jul 2009 03:11:12 +0000 (23:11 -0400)]
Bump version
Matthias Clasen [Sat, 18 Jul 2009 03:08:51 +0000 (23:08 -0400)]
2.17.5
Michael Natterer [Fri, 17 Jul 2009 19:49:58 +0000 (21:49 +0200)]
Two more getters for flags plus one new property
More stuff based on patches from Christian Dywan:
- gtk_widget_get_app_paintable()
- gtk_widget_get_double_buffered()
- r/w property "double-buffered"
Benjamin Otte [Fri, 10 Jul 2009 08:51:39 +0000 (10:51 +0200)]
Bug 588273 - Make number of validated rows depend on time, not row count
Previously, do_validate_rows() validated 300 rows per iteration. While
this is usually not problematic, as the typical tree view contains less
than 100 rows. Tree views with a lot of columns or complex cell
renderers could take inacceptably long, like:
- Epiphany's location bar entry completion has multiline and marked up
text in every cell. Validating a single row took ~1.5ms here.
- In the list view in Nautilus, When enabling all columns, validating a
single row would take ~3ms.
With 300 rows per iteration, that made those examples take 500ms/1s in a
signle main loop callback, and this obviously caused responsiveness
problems.
Now the code uses a timer and limits the time for validating rows to
30ms. This can cause less lines to be invalidated per call, so the
function might be called more often, but generally results in more
responsive applications.
Michael Natterer [Fri, 17 Jul 2009 19:18:26 +0000 (21:18 +0200)]
Add API for more widget flags
Add the following functions based on a patch from Christian Dywan:
- gtk_widget_set/get_can_focus()
- gtk_widget_set/get_can_default()
- gtk_widget_has_default()
Matthias Clasen [Fri, 17 Jul 2009 19:16:38 +0000 (15:16 -0400)]
Correct property types
Matthias Clasen [Fri, 17 Jul 2009 19:09:35 +0000 (15:09 -0400)]
Complete the get_buffer() conversion
There was one direct buffer access in gtk_entry_real_delete_text
leftover, and it promptly made our testsuite fail.
Matthias Clasen [Fri, 17 Jul 2009 18:31:00 +0000 (14:31 -0400)]
Updates
Matthias Clasen [Fri, 17 Jul 2009 17:29:07 +0000 (13:29 -0400)]
Fix DND onto an empty icon view
This did not work due to a copy and paste bug from the time when
the treeview DND code was turned into iconview DND code. Fixes
bug 599484.
Hans Breuer [Fri, 17 Jul 2009 12:26:02 +0000 (14:26 +0200)]
More efficient version of _gdk_win32_window_queue_translation()
Don't create create an extraneous expose event for any scroll operation
that gtk+ does. Thanks to Alex for the hint.
Hans Breuer [Fri, 17 Jul 2009 12:38:43 +0000 (14:38 +0200)]
Fix inconsistent line-endings
They are causing trouble with core.autocrlf=true, see:
http://mail.gnome.org/archives/gtk-devel-list/2009-July/msg00041.html
Marek Kasik [Fri, 17 Jul 2009 14:33:16 +0000 (16:33 +0200)]
Change position of paper's dimensions according to reading direction
Change position of paper's dimensions in GtkPrintUnixDialog according
to reading direction.
Tristan Van Berkom [Fri, 17 Jul 2009 03:19:03 +0000 (23:19 -0400)]
Fixed crashes when GtkEntry's internal buffer is not available (bug 588395)
To fix this I replaced the code that creates an internal buffer
at init and construction time with code that creates a buffer
at _get_buffer() time, this is the same as GtkTextView does and
fixes the crashes for me.
Matthias Clasen [Fri, 17 Jul 2009 02:06:40 +0000 (22:06 -0400)]
Make suitable GtkAssistant buttons default
We grab the default to the apply, forward or close buttons, as
appropriate. Also, make sure that the logic for setting the focus
to the best place on page change is applied to the initial page.
Matthias Clasen [Fri, 17 Jul 2009 00:54:42 +0000 (20:54 -0400)]
Make jasper support optional
To enable it, one must now pass --with-libjasper to configure.
Tor Lillqvist [Thu, 16 Jul 2009 19:03:33 +0000 (22:03 +0300)]
Disable the GDI+ loaders by default as they are broken.
André Gondim [Thu, 16 Jul 2009 00:31:37 +0000 (21:31 -0300)]
Updated Brazilian Portuguese translation.
Matthias Clasen [Wed, 15 Jul 2009 23:17:36 +0000 (19:17 -0400)]
Add a tooltip to the save folder combo
Add a tooltip that shows the full path of the current folder, to avoid
ambiguity. We only show the tooltip when the expander is collapsed to
avoid cluttering the full file chooser.
Matthias Clasen [Wed, 15 Jul 2009 22:29:13 +0000 (18:29 -0400)]
Use G_CONST_RETURN for const return values
Matthias Clasen [Wed, 15 Jul 2009 22:25:02 +0000 (18:25 -0400)]
Avoid gratitious behaviour change
gtk_entry_set_text() used to emit the ::delete-text, ::insert-text
signals. Changing to GtkEntryBuffer should not change this.
Matthias Clasen [Wed, 15 Jul 2009 20:12:09 +0000 (16:12 -0400)]
Make GtkEntryBuffer::max-length and int property
This avoid a behaviour change in a corner case and should not make
any difference.
Matthias Clasen [Wed, 15 Jul 2009 02:33:14 +0000 (22:33 -0400)]
Fix a typo
Michael Natterer [Wed, 15 Jul 2009 01:22:22 +0000 (03:22 +0200)]
Add API for sealed member "visible"
Claude Paroz [Tue, 14 Jul 2009 18:46:24 +0000 (20:46 +0200)]
Add missing files in POTFILES.in
Michael Natterer [Tue, 14 Jul 2009 00:45:42 +0000 (02:45 +0200)]
Add gtk_widget_get_state() for accessing the sealed member "state"
Michael Natterer [Tue, 14 Jul 2009 00:12:40 +0000 (02:12 +0200)]
Add API for some sealed widget flags
- gtk_widget_has_focus() for GTK_WIDGET_HAS_FOCUS()
- gtk_widget_get_sensitive() for GTK_WIDGET_SENSITIVE()
- gtk_widget_is_sensitive() for GTK_WIDGET_IS_SENSITIVE()
Michael Natterer [Mon, 13 Jul 2009 23:53:56 +0000 (01:53 +0200)]
Add API for the sealed member "activatable"
Michael Natterer [Mon, 13 Jul 2009 23:45:03 +0000 (01:45 +0200)]
Add API for sealed members xpad, ypad, xalign, yalign and sensitive
Michael Natterer [Mon, 13 Jul 2009 23:33:52 +0000 (01:33 +0200)]
No need to have single-include guards in a private header
Matthias Clasen [Mon, 13 Jul 2009 18:48:10 +0000 (14:48 -0400)]
Fix some problems with prelighting of icons in entries
Matthias Clasen [Mon, 13 Jul 2009 17:37:35 +0000 (13:37 -0400)]
Make gtk_editable_get_chars work as before
It used to return actual entry contents, regardless of visiblity.
Make it do that again. This was reported in bug 588461.
Cody Russell [Mon, 13 Jul 2009 13:36:40 +0000 (08:36 -0500)]
more directfb updates
Kjartan Maraas [Mon, 13 Jul 2009 09:16:46 +0000 (11:16 +0200)]
Updated Norwegian bokmål translation.
Hans Breuer [Sun, 12 Jul 2009 20:32:28 +0000 (22:32 +0200)]
Implement _gdk_win32_window_destroy() and more cleanup
Implement _gdk_win32_window_destroy() by just renaming
_gdk_windowing_window_destroy(), removed superfuous stub.
Also cleaned up implementations of gdk_win32_window_set_background()
and gdk_win32_window_set_back_pixmap() - removed stuff now done at the
respective gdk_window_*() function.
Hans Breuer [Sun, 12 Jul 2009 19:26:29 +0000 (21:26 +0200)]
Implement _gdk_win32_window_queue_translation()
Hans Breuer [Sun, 12 Jul 2009 17:36:30 +0000 (19:36 +0200)]
Mark gtk_custom_paper_unix_dialog_get_type() unix only
Hans Breuer [Sun, 12 Jul 2009 16:58:59 +0000 (18:58 +0200)]
Bug #588388 - shape rendering is back
Just mapping exisiting implementations to new GdkWindow API.
http://bugzilla.gnome.org/show_bug.cgi?id=588388
Hans Breuer [Sun, 12 Jul 2009 16:51:20 +0000 (18:51 +0200)]
Make more use of defines in $(TOP)/build/win32/make.msc
Hans Breuer [Sun, 12 Jul 2009 16:23:01 +0000 (18:23 +0200)]
Bug #588379 - testgtk::panes does not change the cursor on mouse over
That one was easy, just removing Alex's #ifdef TODO_CSW ;)
http://bugzilla.gnome.org/show_bug.cgi?id=588379
Hans Breuer [Sun, 12 Jul 2009 16:20:08 +0000 (18:20 +0200)]
Bug #588373 - Menus broken by client-side-windows
Resurrcetion and adaption of find_window_for_mouse_event(). The window
receiving the WM_MOUSEMOVE, WM_?BUTTONDOWN is not necessarily the one
interested in GDK_(ENTER|MOTION|LEAVE)_NOTIFY
http://bugzilla.gnome.org/show_bug.cgi?id=588373
Also added some more more TODO_CSW and disabled print_event(): it can not
cope with the new _gdk_windowing_got_event() eating/morphing events.
Hans Breuer [Sun, 12 Jul 2009 16:00:40 +0000 (18:00 +0200)]
Fix gccism - pointer arithmetic with void pointers
Hans Breuer [Sun, 12 Jul 2009 15:58:41 +0000 (17:58 +0200)]
Fix c99ism - declaration in the mid of a block
Hans Breuer [Sun, 12 Jul 2009 15:57:13 +0000 (17:57 +0200)]
Update msvc build
Hans Breuer [Fri, 10 Jul 2009 11:42:46 +0000 (13:42 +0200)]
Build more testapps, use G_PI instead of M_PI
Matthias Clasen [Mon, 13 Jul 2009 03:04:57 +0000 (23:04 -0400)]
Revert
8031432c09c864d6fe635a8e8890c5221399fc4f
We can't disallow single-includes unconditionally because gtkentrybuffer.h
is included in gtkentry.h.
Chao-Hsiung Liao [Sun, 12 Jul 2009 07:41:40 +0000 (15:41 +0800)]
Updated Traditional Chinese (Hong Kong and Taiwan)
Jorge González [Sat, 11 Jul 2009 12:44:51 +0000 (14:44 +0200)]
Updated Spanish translation
Jorge González [Sat, 11 Jul 2009 12:44:43 +0000 (14:44 +0200)]
Updated Spanish translation
Matthias Clasen [Sat, 11 Jul 2009 02:29:50 +0000 (22:29 -0400)]
Remove outdated text from README.in
The PATCH and API keywords are no longer in use. Pointed out in 588229.
Matthias Clasen [Fri, 10 Jul 2009 23:45:21 +0000 (19:45 -0400)]
Bump version to 2.17.5
Matthias Clasen [Fri, 10 Jul 2009 23:02:32 +0000 (19:02 -0400)]
2.17.4
Alexander Larsson [Fri, 10 Jul 2009 22:28:18 +0000 (00:28 +0200)]
Don't draw to unviewable windows
The scrolling and region moving code needs to avoid drawing when the
window is mapped, which it did. However, it also needs to avoid
drawing when any of its parents are not mapped, which it didn't so
switch to using gdk_window_is_viewable().
This fixes the index rendering in evolution (#588169)
Matthias Clasen [Fri, 10 Jul 2009 22:12:42 +0000 (18:12 -0400)]
Exclude GtkEntry::buffer from default value testing
Matthias Clasen [Fri, 10 Jul 2009 22:12:22 +0000 (18:12 -0400)]
Make pltcheck pass
Matthias Clasen [Fri, 10 Jul 2009 18:00:35 +0000 (14:00 -0400)]
Update
Michael Natterer [Fri, 10 Jul 2009 18:27:33 +0000 (20:27 +0200)]
Create a buffer in init() so subclasses can use the entry in their init()
Alexander Larsson [Fri, 10 Jul 2009 17:36:38 +0000 (19:36 +0200)]
Ensure that windows used for selections are native
This fixes cut and paste in gvim (#588115)
Alexander Larsson [Fri, 10 Jul 2009 15:30:42 +0000 (17:30 +0200)]
Manually update toplevel_under_pointer when a grab changes to owner_events
When we ungrab the pointer we don't get enter events for the window the
pointer is in at the time of the ungrab, so we manually query for the
window the pointer is in. The same thing actually happens on re-grab if
the previous grab was !owner_events (meaning we don't get crossing events
for windows other than the grab) but the new grab is owner_events (and
thus non-grab windows need to get crossing events).
This factors out some common code and enables it also for the re-grab
to owner_events case.
Marek Kasik [Fri, 10 Jul 2009 09:28:31 +0000 (11:28 +0200)]
Add paper size combo and orientation combo to print dialog
Paper size combo and orientation combo can be added by
gtk_print_operation_set_embed_page_setup_dialog() to GtkPrinUnixDialog
now. This function induce calling of
gtk_print_unix_dailog_set_embed_page_setup_dialog() after creation of
dialog. These two functions control embed-page-setup-dialog properties
in GtkPrintOperation and in GtkPrintUnixDialog.
There is also new function gtk_print_unix_dialog_get_page_setup_set()
which says whether page setup was set by user.
Selected page setup is stored as default page setup in
GtkPrintOperation.
New class is added, its name is GtkCustomPaperUnixDialog. The class
manages custom sizes. It is derived from GtkPageSetupUnixDialog's
CustomPaperDialog structure.
Page layout preview is modified, so, it shows dimensions of current
page setup (mm or inch - depends on locale). It also shows the name of
actual paper if page setup dialog is not embedded (paper size combo is
not visible).
gtk-demo is actualized to include this new feature.
Cody Russell [Fri, 10 Jul 2009 02:21:28 +0000 (03:21 +0100)]
Merge branch 'directfb-csw'
Cody Russell [Thu, 9 Jul 2009 22:53:26 +0000 (23:53 +0100)]
get directfb building with csw
Maxim V. Dziumanenko [Thu, 9 Jul 2009 20:55:59 +0000 (23:55 +0300)]
Updated Ukrainian translation
Jorge González [Thu, 9 Jul 2009 18:58:54 +0000 (20:58 +0200)]
Updated Spanish translation
Matthias Clasen [Thu, 9 Jul 2009 17:59:35 +0000 (13:59 -0400)]
Make link coloring in labels optional
Turns out that link coloring is expected for actual hypertext-like
use, but when using links just as 'mutant button', then it gets
in the way.
Michael Natterer [Thu, 9 Jul 2009 15:59:41 +0000 (17:59 +0200)]
Add xevent->xcrossing.mode to GDK_NOTE() for enter and leave notify events
Alexander Larsson [Thu, 9 Jul 2009 15:10:56 +0000 (17:10 +0200)]
Remove accidentally added debug spew
Alexander Larsson [Thu, 9 Jul 2009 14:48:22 +0000 (16:48 +0200)]
Correctly set enter/leave events as detail=nonlinear
If we get a nonlinear enter/leave notify on the toplevel we need
to set nonlinear in all the events we send, even if the in-toplevel
tree is linear.
This fixes combobox menus popping down immediately when you click
(not hold). (bug #587559)
Michael Natterer [Thu, 9 Jul 2009 14:31:27 +0000 (16:31 +0200)]
Disallow single-include unconditionally because this is a new file
Michael Natterer [Thu, 9 Jul 2009 14:30:52 +0000 (16:30 +0200)]
Add single-include guard
Tino Meinen [Thu, 9 Jul 2009 10:36:05 +0000 (11:36 +0100)]
Dutch translation updated
Tino Meinen [Thu, 9 Jul 2009 10:35:03 +0000 (11:35 +0100)]
Dutch translation updated
Maxim V. Dziumanenko [Thu, 9 Jul 2009 07:48:54 +0000 (10:48 +0300)]
Updated Ukrainian translation
Maxim V. Dziumanenko [Thu, 9 Jul 2009 07:45:55 +0000 (10:45 +0300)]
Updated Ukrainian translation
Jorge González [Thu, 9 Jul 2009 05:36:52 +0000 (07:36 +0200)]
Updated Spanish translation
Stef Walter [Thu, 9 Jul 2009 01:41:53 +0000 (20:41 -0500)]
GtkEntryBuffer holds text for GtkEntry
Adds a 'model' type buffer for GtkEntry in which the actual
textual data is stored. GtkEntryBuffer can be subclassed.
Among other things, this allows GtkEntry to be used for secrets
that need to be stored in non-pageable memory. It also allows
buffers to be shared by entries.
See bug #576801.
Alexander Larsson [Wed, 8 Jul 2009 16:40:05 +0000 (18:40 +0200)]
Handle non-native windows in the gdk test utils
We need to add the non-native offset to the root coords when
sending events.
Alexander Larsson [Wed, 8 Jul 2009 16:36:24 +0000 (18:36 +0200)]
Don't emulate map/unmap events for native windows
We really need to wait for the MapNotify from the xserver to ensure
that the window has been mapped, as it may be delayed by the WM, network
or similar things.
This fixes a problem in the /ui-tests/keys-events gtk test
Alexander Larsson [Wed, 8 Jul 2009 14:59:14 +0000 (16:59 +0200)]
Fix defaultvalue test due to csw
Initialize GdkWindowAttr required fields. This makes sure toplevel
windows are not accidentally larger than 16bit.
Benjamin Otte [Wed, 8 Jul 2009 15:54:17 +0000 (17:54 +0200)]
Remove unused variable
Michael Natterer [Wed, 8 Jul 2009 15:01:32 +0000 (17:01 +0200)]
Fix the remaining issues that broke the PLT check
Add internal API for the default button box layouts to so we don't
need to call deprectated GTK+ functions (which are invisible with
GTK_DISABLE_DEPRECATED).
Alexander Larsson [Wed, 8 Jul 2009 14:41:32 +0000 (16:41 +0200)]
Move get_cells implementation from deprecated function
This way the deprecated function calls the new one instead of the other
way around, which fixes pltcheck.sh
Alexander Larsson [Wed, 8 Jul 2009 14:38:40 +0000 (16:38 +0200)]
Move get_cells implementation from deprecated function
This way the deprecated function calls the new one instead of the other
way around, which fixes pltcheck.sh
Michael Natterer [Wed, 8 Jul 2009 14:37:29 +0000 (16:37 +0200)]
Some indentation fixes and minor cleanup
Matthias Clasen [Wed, 8 Jul 2009 13:53:41 +0000 (09:53 -0400)]
Make gdk build with GDK_DISABLE_DEPRECATED
Turns out gdk_window_get_deskrelative_origin is now called in
gdk as well.
Kjartan Maraas [Wed, 8 Jul 2009 13:48:51 +0000 (15:48 +0200)]
Use g_object_unref instead of deprecated gdk_pixmap_unref